package org.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class SessionApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(SessionApplication.class, args);
        String[] beanDefinitionNames = run.getBeanDefinitionNames();
        System.out.println("-----------------");
        for(String bean : beanDefinitionNames){
            System.out.println(bean);
        }
        System.out.println("-----------------");
        System.out.println("SessionApplication is running...");
        
    }
}